package server.business.service;

import com.baomidou.mybatisplus.extension.service.IService;

import server.business.pojo.BloodDiscardApply;
import server.business.pojo.BloodDiscardReview;

import java.util.Date;

/**
* @author Galaxy
* @description 针对表【blood_discard_review】的数据库操作Service
* @createDate 2022-11-08 12:46:23
*/
public interface BloodDiscardReviewService extends IService<BloodDiscardReview> {
    /**
     * 根据申请编号更改is_deleted
     *
     * @param DiscardId
     * @param is_deleted
     */
    //根据申请单号改变isdeleted
    Boolean setisDeletedById(String DiscardId, Integer is_deleted);
    //根据申请号更改审核人


    Boolean setreviewidbyDiscardId(String DiscardId,String reviewer);

    //根据申请号更改审核日期

    Boolean setauditdaybyDiscardId(String DiscardId, Date date);

    //根据申请号更改申请状态

    Boolean setapplystatebyDiscardId(String DiscardId, String state);

    //根据申请号更改驳回原因
    Boolean setrejectreasonbyDiscardId(String DiscardId, String rejectreason);
}
